Switch Tab
Command Prototype
bRet = WebBrowser.SwitchTab(hWeb,sType,sContent,optionArgs)
Command Description
Switch browser tabs to match with address bar and title bar, and wildcard '*' is supported
Parameter Description
- Required Parameter
- hWeb--Browser's handle string returned with WebBrowser.Create or WebBrowser.Bind functions
- sType--Object to match
- sContent--Content to match
- Optional Parameter
- bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values (True, False). The default is False
- iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
- iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds
- return
- bRet--The variable used to save the output of the function call